package chaowan.Service;



import chaowan.pojo.Goods;

import java.util.List;

public interface GoodsService {
    List<Goods> findAll();
    Goods findById(Long gid);
    Goods save(Goods goods);
    Goods update(Goods goods);
    void deleteById(Long goods);
    List<Goods> searchByKeyword(String keyword);
    List<Goods> findByCategoryId(Long cid);
}